<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="${host_url}/js/app/jquery.min.js"></script>
<script type="text/javascript" src="${host_url}/js/app/common.js"></script>
<script type="text/javascript" src="${host_url}/js/app/utf.js"></script>
<script type="text/javascript" src="${host_url}/js/app/jquery.qrcode.js"></script>
<link rel="stylesheet" href="/css/app/common.css">
<link rel="stylesheet"  href="/css/app/invite_friend.css">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<title>个人邀请</title>

<script type="text/javascript">
	function fn_go_friendListOne(){
		var friend_list_url = $("#friend_list_url").val();
		window.webkit.messageHandlers.ios_open_page.postMessage('WKViewController:::url->'+friend_list_url+':::webTitle->邀请好友:::isRefresh->YES');
	}
</script>

</head>
<body>
<input type="hidden" id="friend_list_url" value="${friend_list_url}" />
	<div class="main">
		<div class="invite ">
		    <div class="invite-content">
		      <div class="topInner">
		        <div class="topInner-content-wrap">
		          <div class="topInner-img-wrap">
		            <div class="topInner-heade-wrap">
		              <div style="width:100%;">
		                <div class="heade-inner-wrap">
		                  <p class="heade-inner">
		                    <span class="headeinnerimg"><img src="${member.logo}" alt="" ></span>
		                  </p>
		                </div>
		                <div class="nick-name">${member.nick_name}</div>
		                <div class="slogan">邀请您加入友米乐</div>
		              </div>
		            </div>
		          </div>
		        </div>
		      </div>
		      <div class="botInner">
		        <div class="botInner-content-wrap">
		          <p>
		            <span class="qrWrap"><img src="getQ?invite_no=${member.invite_no}" alt=""></span>
		          </p>
		          <div class="btn-wrap">
			          <c:if test="${'ios'==os}">
							<button onclick="fn_go_friendListOne()" >查看已邀请的好友</button>
				  	  </c:if>
				 	  <c:if test="${'android'==os}">
							<button onclick="android.startUrl('邀请好友','${friend_list_url}')">查看已邀请的好友</button>
					  </c:if>
		          </div>
		        </div>
		      </div>
		    </div>
		</div>
	</div>
</body>
</html>